package io.renren.modules.bug.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.bug.entity.BugEntity;
import io.renren.modules.bug.vo.BugResVo;
import io.renren.modules.bug.vo.BugVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2023-07-29 17:21:53
 */
@Mapper
public interface BugDao extends BaseMapper<BugEntity> {
	List<BugResVo> getBugInfo(@Param("pIds") List<Long> pIds);

    List<Long> getBugIdByProductId(Long productId);

    List<Long> getBugIdByModuleId(Long moduleId);

    List<Long> getBugIdByCreateUser(Long bugCreateUser);

    List<Long> getBugIdBySolveUser(Long bugSolveUser);

    List<Long> getBugIdByStatus(Integer bugStatus);

    List<Long> getBugIdByStartTime(Date bugStartTime);

    List<Long> getBugIdByEndTime(Date bugEndTime);
}
